﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;

namespace BrokerPresentation
{



/// <summary>
/// 
/// </summary>
public class Broker
{
    /// <summary>
    /// 
    /// </summary>
    public Broker()
    {
        registerServer();
    }



    /// <summary>
    /// 
    /// </summary>
    public void LocateServer()
    {
    }
    


    /// <summary>
    /// 
    /// </summary>
    public void LocateClient()
    {
    }



    /// <summary>
    /// 
    /// </summary>
    public void registerServer()
    {
    }


    /// <summary>
    /// 
    /// </summary>
    public void unregisterServer()
    {
    }



    /// <summary>
    /// 
    /// </summary>
    /// <param name="request"></param>
    /// <returns></returns>
    public Object forwardRequest(Object request)
    {
        //Send the request.
        //Wait for the response.
        Object response = request;

        //Return the response.
        return response;
    }



    /// <summary>
    /// 
    /// </summary>
    /// <param name="response"></param>
    public void forwardResponse(Object response)
    {
        //Send the response.
    }
}

}